package com.kingdee.eas.custom.basetata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ItemFactory
{
    private ItemFactory()
    {
    }
    public static com.kingdee.eas.custom.basetata.IItem getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IItem)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("80FA808B") ,com.kingdee.eas.custom.basetata.IItem.class);
    }
    
    public static com.kingdee.eas.custom.basetata.IItem getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IItem)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("80FA808B") ,com.kingdee.eas.custom.basetata.IItem.class, objectCtx);
    }
    public static com.kingdee.eas.custom.basetata.IItem getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IItem)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("80FA808B"));
    }
    public static com.kingdee.eas.custom.basetata.IItem getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IItem)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("80FA808B"));
    }
}